#ifndef MFS_ALLOC_H
#define MFS_ALLOC_H

#include <vector>

using namespace std;

// songs
typedef mfs_song_list vector<song>*;
mfs_song_list song_list_create ();
bool song_list_add (mfs_song_list &song_list, const song &s);
void delete_song_list (mfs_song_list &song_list);

// albums
typedef mfs_album_list vector<album>*;
mfs_album_list album_list_create ();
bool album_list_add (mfs_album_list &album_list, const album &a);
void delete_album_list (mfs_album_list &album_list);

// artists
typedef mfs_artist_list vector<artist>*;
mfs_artist_list artist_list_create ();
bool artist_list_add (mfs_artist_list &artist_list, const artist &a);
void delete_artist_list (mfs_artist_list &artist_list);

// playlists
typedef mfs_playlist_list vector<playlist>*;
mfs_playlist_list playlist_list_create ();
bool playlist_list_add (mfs_playlist_list &playlist_list, const playlist &p);
void delete_playlist_list (mfs_playlist_list &playlist_list);

// movies
typedef mfs_movie_list vector<movie>*;
mfs_movie_list movie_list_create ();
bool movie_list_add (mfs_movie_list &movie_list, const movie &m);
void delete_movie_list (mfs_movie_list &movie_list);

// videoclips
typedef mfs_videoclip_list vector<videoclip>*;
mfs_videoclip_list videoclip_list_create ();
bool videoclip_list_add (mfs_videoclip_list &videoclip_list, const videoclip &v);
void delete_videoclip_list (mfs_videoclip_list &videoclip_list);

// pictures
typedef mfs_picture_list vector<picture>*;
mfs_picture_list picture_list_create ();
bool picture_list_add (mfs_picture_list &picture_list, const picture &p);
void delete_picture_list (mfs_picture_list &picture_list);


#endif
